package com.liyiruo.uploadfiles.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author liyiruo
 * @Description
 * @Date 2024/7/8 下午1:49
 */

@Controller
@RequestMapping("goto")
@Slf4j
public class GoToPages {

    @RequestMapping("{page}")
    public String hello(@PathVariable("page") String page){
        return page;
    }
}
